package com.qf.commons.data.result;

import lombok.Getter;

/**
 * @Author: tiger
 * @Data: 2024/10/22 22:18
 * @Description: TODO - 还有不同的结果
 **/

@Getter
public enum ResultCode {
    SUCCESS(200, "成功"),

    FAIL(500, "服务器异常");


    private int code;
    private String msg;

    ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
